package com.itheima.d3_abstract;

public class Cat extends Animals{

    public Cat(String name){
        super(name);
    }
    @Override
    public void cry() {
        System.out.println("我是"+getName()+"我喵喵地叫");
    }
}
